package com.zjp.model.shoppingcart;

import java.util.Date;

/**
 * 购物车表
 * @author Administrator
 *
 */
public class ShoppingCartinfo {
	/**
	 * pk id
	 */
	private long id;
	/**
	 * 产品id
	 */
	private long productId;
	/**
	 * 店铺id
	 */
	private long shopId;
	/**
	 * 用户id
	 */
	private long userId;
	/**
	 * 店铺缩略图
	 */
	private String shopImg;
	/**
	 * 产品缩略图
	 */
	private String productImg;
	/**
	 * 销售价格
	 */
	private float salefee;
	/**
	 * 店铺推广文字信息（目前用于文字类推广宣传，主要出库时的凭证）
	 */
	private String shopTips;
	/**
	 * 商品赠品/捆绑折扣文字信息（比如：买500g送100g;买一送一）
	 */
	private String productTips;
	/**
	 * 
	 */
	private int number;
	/**
	 * 创建时间
	 */
	private Date created;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getProductId() {
		return productId;
	}
	public void setProductId(long productId) {
		this.productId = productId;
	}
	public long getShopId() {
		return shopId;
	}
	public void setShopId(long shopId) {
		this.shopId = shopId;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public String getShopImg() {
		return shopImg;
	}
	public void setShopImg(String shopImg) {
		this.shopImg = shopImg;
	}
	public String getProductImg() {
		return productImg;
	}
	public void setProductImg(String productImg) {
		this.productImg = productImg;
	}
	public float getSalefee() {
		return salefee;
	}
	public void setSalefee(float salefee) {
		this.salefee = salefee;
	}
	public String getShopTips() {
		return shopTips;
	}
	public void setShopTips(String shopTips) {
		this.shopTips = shopTips;
	}
	public String getProductTips() {
		return productTips;
	}
	public void setProductTips(String productTips) {
		this.productTips = productTips;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public ShoppingCartinfo(long id, long productId, long shopId, long userId,
			String shopImg, String productImg, float salefee, String shopTips,
			String productTips, int number, Date created) {
		super();
		this.id = id;
		this.productId = productId;
		this.shopId = shopId;
		this.userId = userId;
		this.shopImg = shopImg;
		this.productImg = productImg;
		this.salefee = salefee;
		this.shopTips = shopTips;
		this.productTips = productTips;
		this.number = number;
		this.created = created;
	}
	public ShoppingCartinfo() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	

}
